const request = require("../utils/request");

const getBannerApi = () => request("/home/banner");
const getRecommendApi = (data) => request("/home/recommend", "POST", data)
const getClassifyApi = (data) => request("/classify", "POST", data)
const getDetailApi = (data) => request("/detail", "POST", data)
const getCodeApi = (data) => request("/register/getCode", "POST", data)
const getregisterApi = (data) => request("/register", "POST", data)
const getCartApi = (data) => request("/cart/get", "POST", data)

module.exports = {
    getBannerApi,
    getRecommendApi,
    getClassifyApi,
    getDetailApi,
    getCodeApi,
    getregisterApi,
    getCartApi
}